Optimal. Leaf size=185 \[ -\frac{b^3 \text{PolyLog}\left (2,1-\frac{2}{1-c x}\right )}{c^4}+\frac{b^2 x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac{2 b^2 \log \left (\frac{2}{1-c x}\right ) \left (a+b \tanh ^{-1}(c x)\right )}{c^4}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{b \left (a+b \tanh ^{-1}(c x)\right )^2}{c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}+\frac{b^3 x}{4 c^3}-\frac{b^3 \tanh ^{-1}(c x)}{4 c^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.569391, antiderivative size = 185, normalized size of antiderivative = 1., number of steps used = 18, number of rules used = 10, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.714, Rules used = {5916, 5980, 321, 206, 5984, 5918, 2402, 2315, 5910, 5948} \[ -\frac{b^3 \text{PolyLog}\left (2,1-\frac{2}{1-c x}\right )}{c^4}+\frac{b^2 x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac{2 b^2 \log \left (\frac{2}{1-c x}\right ) \left (a+b \tanh ^{-1}(c x)\right )}{c^4}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{b \left (a+b \tanh ^{-1}(c x)\right )^2}{c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}+\frac{b^3 x}{4 c^3}-\frac{b^3 \tanh ^{-1}(c x)}{4 c^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5916
Rule 5980
Rule 321
Rule 206
Rule 5984
Rule 5918
Rule 2402
Rule 2315
Rule 5910
Rule 5948
Rubi steps
\begin{align*} \int x^3 \left (a+b \tanh ^{-1}(c x)\right )^3 \, dx &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{1}{4} (3 b c) \int \frac{x^4 \left (a+b \tanh ^{-1}(c x)\right )^2}{1-c^2 x^2} \, dx\\ &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{(3 b) \int x^2 \left (a+b \tanh ^{-1}(c x)\right )^2 \, dx}{4 c}-\frac{(3 b) \int \frac{x^2 \left (a+b \tanh ^{-1}(c x)\right )^2}{1-c^2 x^2} \, dx}{4 c}\\ &=\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{1}{2} b^2 \int \frac{x^3 \left (a+b \tanh ^{-1}(c x)\right )}{1-c^2 x^2} \, dx+\frac{(3 b) \int \left (a+b \tanh ^{-1}(c x)\right )^2 \, dx}{4 c^3}-\frac{(3 b) \int \frac{\left (a+b \tanh ^{-1}(c x)\right )^2}{1-c^2 x^2} \, dx}{4 c^3}\\ &=\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{b^2 \int x \left (a+b \tanh ^{-1}(c x)\right ) \, dx}{2 c^2}-\frac{b^2 \int \frac{x \left (a+b \tanh ^{-1}(c x)\right )}{1-c^2 x^2} \, dx}{2 c^2}-\frac{\left (3 b^2\right ) \int \frac{x \left (a+b \tanh ^{-1}(c x)\right )}{1-c^2 x^2} \, dx}{2 c^2}\\ &=\frac{b^2 x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}+\frac{b \left (a+b \tanh ^{-1}(c x)\right )^2}{c^4}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{b^2 \int \frac{a+b \tanh ^{-1}(c x)}{1-c x} \, dx}{2 c^3}-\frac{\left (3 b^2\right ) \int \frac{a+b \tanh ^{-1}(c x)}{1-c x} \, dx}{2 c^3}-\frac{b^3 \int \frac{x^2}{1-c^2 x^2} \, dx}{4 c}\\ &=\frac{b^3 x}{4 c^3}+\frac{b^2 x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}+\frac{b \left (a+b \tanh ^{-1}(c x)\right )^2}{c^4}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{2 b^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )}{c^4}-\frac{b^3 \int \frac{1}{1-c^2 x^2} \, dx}{4 c^3}+\frac{b^3 \int \frac{\log \left (\frac{2}{1-c x}\right )}{1-c^2 x^2} \, dx}{2 c^3}+\frac{\left (3 b^3\right ) \int \frac{\log \left (\frac{2}{1-c x}\right )}{1-c^2 x^2} \, dx}{2 c^3}\\ &=\frac{b^3 x}{4 c^3}-\frac{b^3 \tanh ^{-1}(c x)}{4 c^4}+\frac{b^2 x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}+\frac{b \left (a+b \tanh ^{-1}(c x)\right )^2}{c^4}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{2 b^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )}{c^4}-\frac{b^3 \operatorname{Subst}\left (\int \frac{\log (2 x)}{1-2 x} \, dx,x,\frac{1}{1-c x}\right )}{2 c^4}-\frac{\left (3 b^3\right ) \operatorname{Subst}\left (\int \frac{\log (2 x)}{1-2 x} \, dx,x,\frac{1}{1-c x}\right )}{2 c^4}\\ &=\frac{b^3 x}{4 c^3}-\frac{b^3 \tanh ^{-1}(c x)}{4 c^4}+\frac{b^2 x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}+\frac{b \left (a+b \tanh ^{-1}(c x)\right )^2}{c^4}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c^3}+\frac{b x^3 \left (a+b \tanh ^{-1}(c x)\right )^2}{4 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{4 c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{2 b^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )}{c^4}-\frac{b^3 \text{Li}_2\left (1-\frac{2}{1-c x}\right )}{c^4}\\ \end{align*}
Mathematica [A] time = 0.49171, size = 245, normalized size = 1.32 \[ \frac{8 b^3 \text{PolyLog}\left (2,-e^{-2 \tanh ^{-1}(c x)}\right )+2 b \tanh ^{-1}(c x) \left (3 a^2 c^4 x^4+2 a b c x \left (c^2 x^2+3\right )+b^2 \left (c^2 x^2-1\right )-8 b^2 \log \left (e^{-2 \tanh ^{-1}(c x)}+1\right )\right )+2 a^2 b c^3 x^3+6 a^2 b c x+3 a^2 b \log (1-c x)-3 a^2 b \log (c x+1)+2 a^3 c^4 x^4+2 a b^2 c^2 x^2+8 a b^2 \log \left (1-c^2 x^2\right )+2 b^2 \tanh ^{-1}(c x)^2 \left (3 a \left (c^4 x^4-1\right )+b \left (c^3 x^3+3 c x-4\right )\right )-2 a b^2+2 b^3 \left (c^4 x^4-1\right ) \tanh ^{-1}(c x)^3+2 b^3 c x}{8 c^4} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.602, size = 1245, normalized size = 6.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (b^{3} x^{3} \operatorname{artanh}\left (c x\right )^{3} + 3 \, a b^{2} x^{3} \operatorname{artanh}\left (c x\right )^{2} + 3 \, a^{2} b x^{3} \operatorname{artanh}\left (c x\right ) + a^{3} x^{3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{3} \left (a + b \operatorname{atanh}{\left (c x \right )}\right )^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \operatorname{artanh}\left (c x\right ) + a\right )}^{3} x^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]